package com.uex.dev.manage.admin.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 收单机型号默认能力 仅内部用户查看
 * </p>
 *
 * @author wangchao
 * @since 2024-04-11
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_model_robot")
public class ModelRobotPO extends Model<ModelRobotPO> {

    private static final long serialVersionUID = 1L;

    /**
     * 型号ID 直接引用t_device_model表
     */
    @TableId(value = "model_id", type = IdType.AUTO)
    private Integer modelId;

    /**
     * 归档箱数量
     */
    private Integer devicePackNum = 0;

    /**
     * 归档箱最大容量
     */
    private Integer devicePackPage = 0;

    /**
     * 暂存格数量
     */
    private Integer deviceTempNum = 0;

    /**
     * 退件箱数量
     */
    private Integer deviceBackNum = 0;

    /**
     * 钉子数量
     */
    private Integer deviceNailNum = 0;

    /**
     * 是否有扫描仪
     */
    private Boolean deviceScanner = true;

    /**
     * 是否有扫码
     */
    private Boolean deviceQrscanner = true;

    /**
     * 是否有打印机
     */
    private Boolean devicePrinter = true;

    /**
     * 是否有广告屏
     */
    private Boolean deviceAdsShow = true;

    /**
     * 是否支持抵扣联投递
     */
    private Boolean deviceDeduction = true;

    /**
     * 是否支持打印不干胶
     */
    private Boolean devicePrintLabel = true;

    /**
     * 屏幕尺寸
     */
    private String deviceScreenSize = "";

    @TableLogic
    private Byte deleted;

    @Override
    public Serializable pkVal() {
        return this.modelId;
    }
}
